# AsiaStar Redux

A NewGRF for OpenTTD which introduces a second and a third generation of the AsiaStar train.

Just like the AsiaStar is inspired by the original EuroStar train, this version is inspired by the 2004 refurbishment of the EuroStar, called 373, and the 2015 model 374.

Beyond new interiors the refurbishment brought significant engine upgrades. The latter 374 improved further on this.

## General Information

Two things are added with this extension:
* The 'AsiaStar 2K', designed in 2005 and reminiscent of the EuroStar 373.
* The 'AsiaStar X', designed in 2015 and reminiscent of the EuroStar 374.

GRF ID:   BW\01\02

### Requirements

The NewGRF is tested on OpenTTD 13.1 and later. It should be compatible with a lot older versions too.

### Installation

This NewGRF is available from the ingame Online Content

## Why This NewGRF?

Back when the game was made the AsiaStar was the fastest electric train on a regular rail. It's designed in 1993 and no more engines are added to the regular electric rail after that. The monorail and maglev trains are of course a lot faster and are meant to take over later in the game.

There's a case to be made for a faster and stronger electric train, however. Not least because it's realistic; the EuroStar of today regularly drives at 300 km/h, compared to the AsiaStar top speed of 265 km/h. But also because monorail and maglev shouldn't be better than rail by such a huge leap.

Other train NewGRFs tend to add gigantic amounts of vehicles, but this one only adds two that are needed to fill a gap.

## Credits

All code in this NewGRF was made by Björn Wärmedal, aka
pickpacket/ew0k/tinyrabbit/a whole lot of other handles depending on
context.

The sprites for the train engines are based on the AsiaStar from the OpenGFX graphics pack. Note that OpenGFX contains two different png files with sprite sets for the AsiaStar. This is based on the one that is included but *not* used in OpenGFX.

It's written in the excellent NewGRF Meta Language, which requires Python
3.x. A requirements.txt file for installation with pip is included.

## Contact information

Please report any bugs you find to bjorn.warmedal@gmail.com, address them
to the very same by the nick pickpacket on the irc.oftc.net IRC server, or
in the project at https://notabug.org/tinyrabbit/asiastar-redux

The same contact information as above applies for other problems and general inquiries as well.

## License

AsiaStar Redux - this NewGRF adds two more trains.
Copyright (C) 2022 Björn Wärmedal

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

## Obtaining the source

The source is available at https://notabug.org/tinyrabbit/asiastar-redux

## Building the NewGRF

NML can only build one file. For readability this NewGRF is split into
several .nml files. The build.sh script combines these in the proper order
and builds the NewGRF, passing any arguments on to NML directly.

